/*
 * @Author: 若琳
 * @Date: 2021-06-25 23:46:50
 * @LastEditTime: 2021-06-27 22:16:41
 * @LastEditors: Please set LastEditors
 * @Description: 
 * @FilePath: /init-authority-Template-express/src/com/HY/Xiao-Jun-Jun/coommon/CommonApi.js
 */
const express = require("express")
const Api = express.Router();

const System_prefx = "../../../../../../ruoling-admin/src/com/ruoling/web/controller/v1";


//测试
const TestController = require("../../../../../../ruoling-admin/src/com/ruoling/web/controller/v1/system/controller.test")

const LoginController = require(System_prefx+"/system/controller.login.js");

//验证码《CaptchaController》
const CaptchaController = require(System_prefx+"/system/controller.captcha.js");

const IndexController = require(System_prefx+"/system/controller.index.js");

const UserController = require(System_prefx+"/system/controller.user.js");

const MenuController = require(System_prefx+"/system/controller.menu.js");

const RoleController = require(System_prefx+"/system/controller.role.js");

const UserOnlineController = require(System_prefx+"/monitor/controller.useronline.js")

const UserLogController = require(System_prefx+"/monitor/controller.userlog.js")

const DictController = require(System_prefx+"/system/controller.dict.js")

let CommonApi = [
    {
        "key":"/admin/api/user",
        "value":Api,
    },
    {
        "key":"/",
        "value":TestController,
    },
    {
        "key":"/admin",
        "value":LoginController,
    },
    {
        "key":"/admin/v1",
        "value":CaptchaController,
    },
    {
        "key":"/admin",
        "value":IndexController,
    },
    {
        "key":"/admin",
        "value":UserController,
    },
    {
        "key":"/admin",
        "value":MenuController,
    },
    {
        "key":"/admin",
        "value":RoleController,
    },
    {
        "key":"/admin",
        "value":UserOnlineController,
    },
    {
        "key":"/admin",
        "value":UserLogController,
    },
    {
        "key":"/admin",
        "value":DictController,
    },

]


module.exports = CommonApi;